Repository navigation
Conversation
Bender agents have Chrome 115, which Vaadin no longer supports, so the browser ITs of the nightly dev loop build saw the unsupported browser page. Setting test.chrome.version makes Selenium Manager download that Chrome for Testing.
Contributor
Author
Type of change
What the nightly build showed
Checked locally with Selenium 4.51: |
Member
|
You are suggesting every build should download Chrome? |
|
Contributor
Contributor
Author
|
Closing in favour of #27590: the JUnit 6 browser ITs use the Selenium hub on bender, as the JUnit 4 tests do, instead of downloading a Chrome onto each agent. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Follow-up to #27547
build failure · flow-tests · the nightly dev loop build on bender.vaadin.com
The first nightly dev loop builds on bender failed in every browser IT: the agents run Chrome 115, which Vaadin no longer supports, so the page showed "your browser is not supported" and each test timed out after two minutes. A new system property lets a build ask for a current Chrome, which Selenium Manager downloads.
Risks:
Context. The JUnit 6 base class always starts a local Chrome and ignores the Selenium hub that the JUnit 4 tests use on bender. Moving these tests to the hub would not work either: Flow only lets dev tools connect from localhost, and the dev loop browser ITs depend on dev tools for the live updates they check.
test.chrome.versionsystem property toAbstractBrowserITinflow-test-util-junit6; when set, it is passed as the browser version toChromeOptions, so Selenium Manager downloads that Chrome for Testing and its driver-Dtest.chrome.version=stable